package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

import cn.com.api.util.*;

public class U_cateBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// Id
	private Integer id;

	// 分类名 Cate_name
	private String cate_name = "";

	// 类型 Cate_type (暂时无用)
	private Integer cate_type = 0;

	// 关键字 Keywords (暂时无用)
	private String keywords = "";

	// 描述 Cate_desc
	private String cate_desc = "";

	// 排序 Sort
	private Integer sort = 0;

	// 父类ID Parent_id 注：值为0时表示1级分类；现在最多有2级分类
	private Integer parent_id = 0;

	// 创建者ID Creater_id
	private Integer creater_id = 0;

	// 是否可见 0可见， 1不可见
	private Integer is_valid = 0;

	// 是否显示日期 0显示， 1不显示
	private Integer is_show_date = 0;

	// 是否可评价 0不可以， 1可以
	private Integer allow_comment = 0;

	// 修改者ID Modified_by
	private Integer modified_by = 0;

	// 修改时间 Modified_time
	private String modified_time = DateUtil.nowTimeToString();

	// 创建时间 Add_time
	private String add_time = DateUtil.nowTimeToString();

	//
	private String ext1 = "";

	private String ext2 = "";

	private String ext3 = "";

	private String ext4 = "";

	private String ext5 = "";

	// Id
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	// Cate_name
	public String getCate_name() {
		return this.cate_name;
	}

	public void setCate_name(String cate_name) {
		this.cate_name = cate_name;
	}

	// is_valid
	public Integer getIs_valid() {
		return this.is_valid;
	}

	public void setIs_valid(Integer is_valid) {
		this.is_valid = is_valid;
	}

	// Cate_type
	public Integer getCate_type() {
		return this.cate_type;
	}

	public void setCate_type(Integer cate_type) {
		this.cate_type = cate_type;
	}

	// is_show_date
	public Integer getIs_show_date() {
		return this.is_show_date;
	}

	public void setIs_show_date(Integer is_show_date) {
		this.is_show_date = is_show_date;
	}

	// allow_comment
	public Integer getAllow_comment() {
		return this.allow_comment;
	}

	public void setAllow_comment(Integer allow_comment) {
		this.allow_comment = allow_comment;
	}

	// Keywords
	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	// Cate_desc
	public String getCate_desc() {
		return this.cate_desc;
	}

	public void setCate_desc(String cate_desc) {
		this.cate_desc = cate_desc;
	}

	// Sort
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	// Modified_time
	public String getModified_time() {
		return this.modified_time;
	}

	public Integer getParent_id() {
		return parent_id;
	}

	public void setParent_id(Integer parent_id) {
		this.parent_id = parent_id;
	}

	public Integer getCreater_id() {
		return creater_id;
	}

	public void setCreater_id(Integer creater_id) {
		this.creater_id = creater_id;
	}

	public Integer getModified_by() {
		return modified_by;
	}

	public void setModified_by(Integer modified_by) {
		this.modified_by = modified_by;
	}

	public void setModified_time(String modified_time) {
		this.modified_time = modified_time;
	}

	// Add_time
	public String getAdd_time() {
		return this.add_time;
	}

	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getExt3() {
		return ext3;
	}

	public void setExt3(String ext3) {
		this.ext3 = ext3;
	}

	public String getExt4() {
		return ext4;
	}

	public void setExt4(String ext4) {
		this.ext4 = ext4;
	}

	public String getExt5() {
		return ext5;
	}

	public void setExt5(String ext5) {
		this.ext5 = ext5;
	}

}
